package com.jeecg.p3.divination.entity;

import java.util.Date;

import org.jeecgframework.p3.core.utils.persistence.Entity;

/**
 * 描述：</b>WxActDivination:<br>
 * @author junfeng.zhou
 * @since：2016年03月23日 16时02分02秒 星期三 
 * @version:1.0
 */
public class WxActDivination implements Entity<String> {
	private static final long serialVersionUID = 1L;
		/**	 *键主	 */	private String id;	/**	 *活动名称	 */	private String actName;	/**	 *启用状态（0：停用；1：激活）	 */
	/**
	 * 开始时间
	 */
	private Date startTime;	/**
	 * 结束时间
	 */
	private Date endTime;	private String activeFlag;	/**	 *背景图	 */	private String banner;	/**	 *摇签次数	 */	private Integer count;
	/**
	 *活动文本
	 */
	private String actDetail;
	public String getCreateBy() {
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}
	/**	 *每日抽奖次数	 */	private Integer numPerDay;	/**	 *入口地址	 */	private String hdurl;	/**	 *是否关注可参加 0否1是	 */	private String foucsUserCanJoin;	/**	 *是否绑定手机可参加 0否1是	 */	private String bindingMobileCanJoin;	/**	 *是否中奖可参与 0：中奖可继续参与 1:中奖不可参与	 */	private String winCanJoin;	/**	 *微信原始id	 */	private String jwid;	/**	 *所属项目编码	 */	private String projectCode;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/*创建人
	 * */
	private String createBy;
	/**
	 * 是否有额外的摇签机会，0：有，1没有
	 * */
	private String extraLuckyDraw;	public String getExtraLuckyDraw() {
		return extraLuckyDraw;
	}
	public void setExtraLuckyDraw(String extraLuckyDraw) {
		this.extraLuckyDraw = extraLuckyDraw;
	}
	public String getId() {	    return this.id;	}	public void setId(String id) {	    this.id=id;	}	public String getActName() {	    return this.actName;	}	public void setActName(String actName) {	    this.actName=actName;	}	public String getActiveFlag() {	    return this.activeFlag;	}	public void setActiveFlag(String activeFlag) {	    this.activeFlag=activeFlag;	}	public String getBanner() {	    return this.banner;	}	public void setBanner(String banner) {	    this.banner=banner;	}	public Integer getCount() {	    return this.count;	}	public void setCount(Integer count) {	    this.count=count;	}	public Integer getNumPerDay() {	    return this.numPerDay;	}	public void setNumPerDay(Integer numPerDay) {	    this.numPerDay=numPerDay;	}	public String getHdurl() {	    return this.hdurl;	}	public void setHdurl(String hdurl) {	    this.hdurl=hdurl;	}	public String getFoucsUserCanJoin() {	    return this.foucsUserCanJoin;	}	public void setFoucsUserCanJoin(String foucsUserCanJoin) {	    this.foucsUserCanJoin=foucsUserCanJoin;	}	public String getBindingMobileCanJoin() {	    return this.bindingMobileCanJoin;	}	public void setBindingMobileCanJoin(String bindingMobileCanJoin) {	    this.bindingMobileCanJoin=bindingMobileCanJoin;	}	public String getWinCanJoin() {	    return this.winCanJoin;	}	public void setWinCanJoin(String winCanJoin) {	    this.winCanJoin=winCanJoin;	}	public String getJwid() {	    return this.jwid;	}	public void setJwid(String jwid) {	    this.jwid=jwid;	}	public String getProjectCode() {	    return this.projectCode;	}	public void setProjectCode(String projectCode) {	    this.projectCode=projectCode;	}
	
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public String getActDetail() {
		return actDetail;
	}
	public void setActDetail(String actDetail) {
		this.actDetail = actDetail;
	}
	/**
	 * 短链接
	 */
	private String shortUrl;
	
	public String getShortUrl() {
		return shortUrl;
	}
	public void setShortUrl(String shortUrl) {
		this.shortUrl = shortUrl;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("WxActDivination [id=");
		builder.append(id);
		builder.append(", actName=");
		builder.append(actName);
		builder.append(", startTime=");
		builder.append(startTime);
		builder.append(", endTime=");
		builder.append(endTime);
		builder.append(", activeFlag=");
		builder.append(activeFlag);
		builder.append(", banner=");
		builder.append(banner);
		builder.append(", count=");
		builder.append(count);
		builder.append(", numPerDay=");
		builder.append(numPerDay);
		builder.append(", hdurl=");
		builder.append(hdurl);
		builder.append(", foucsUserCanJoin=");
		builder.append(foucsUserCanJoin);
		builder.append(", bindingMobileCanJoin=");
		builder.append(bindingMobileCanJoin);
		builder.append(", winCanJoin=");
		builder.append(winCanJoin);
		builder.append(", jwid=");
		builder.append(jwid);
		builder.append(", projectCode=");
		builder.append(projectCode);
		builder.append(", createTime=");
		builder.append(createTime);
		builder.append(", createBy=");
		builder.append(createBy);
		builder.append(", shortUrl=");
		builder.append(shortUrl);
		builder.append("]");
		return builder.toString();
	}
}

